package cn.itrip.trade.service;

import cn.itrip.beans.pojo.ItripHotelOrder;

public interface OrderService {
    public ItripHotelOrder loadItriptHotelOrder(String orderNo) throws Exception;
    public void paySuccess(String orderNo,int payType,String  tradeNo) throws  Exception;
    public void payFailed(String orderNo,int payType,String  tradeNo) throws  Exception;
    /**
     * 判断该订单是否支付成功
     * @param tradeNo
     * @return
     * @throws Exception
     */
    public boolean processed(String tradeNo) throws Exception;
}
